<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet" media="all">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">景区名字：</label>
                            <div class="col-sm-6">
                                <input id="scenicname" name="scenicname" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">景区地址：</label>
                            <div class="columns pull-left col-sm-6">
                                <div class="col-sm-6">
                                    <input type="text" id="addre" class="form-control">
                                </div>
                                <img style="height: 25px;width: 25px" src="/img/blog/address.png" onclick="turnUP()"/>
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                        <!--<label class="col-sm-3 control-label">景区级别：</label>-->
                        <!--<div class="col-sm-8">-->
                        <!--<input id="sceniclevel" name="sceniclevel" class="form-control" type="text">-->
                        <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">景区级别：</label>
                            <div class="col-sm-3">
                                <select class="form-control m-b " name="sceniclevel">
                                    <option value="">请选择景区级别</option>
                                    <option>AAA</option>
                                    <option>AAAA</option>
                                    <option>AAAAA</option>
                                </select>
                            </div>
                            <span style="color:red">*</span>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">门票类型：</label>
                            <div class="col-sm-6">
                                <input id="scenicticket" name="scenicticket" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">门票价格：</label>
                            <div class="col-sm-2">
                                <input id="sceniccharge" name="sceniccharge" class="form-control" type="text">
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                        <!--<label class="col-sm-3 control-label">景区图片：</label>-->
                        <!--<div class="col-sm-6">-->
                        <!--<input id="scenicpicture" name="scenicpicture" class="form-control" type="text">-->
                        <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">景区图片：</label>
                            <div class="col-sm-6">
                                <button type="button" class="layui-btn layui-btn-normal" id="testList">选择图片</button>
                                <button type="button" class="layui-btn layui-btn-normal" id="shangchuan">上传图片</button>
                                <div class="layui-upload-list">
                                    <table class="layui-table">
                                        <thead>
                                        <tr>
                                            <th>图片名字</th>
                                            <th>大小</th>
                                            <th>状态</th>
                                            <th>操作</th>
                                        </tr>
                                        </thead>
                                        <tbody id="demoList"></tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <input type="text" id="imgUrls" name="scenicpicture" style="display: none;" class="layui-input">
                        <!--<div class="form-group">-->
                        <!--<label class="col-sm-3 control-label">创建时间：</label>-->
                        <!--<div class="col-sm-6">-->
                        <!--<input id="createTime" name="createTime" class="form-control" type="text">-->
                        <!--</div>-->
                        <!--</div>-->
                        <input type="text" id="address" name="address" style="display: none;" class="layui-input">
                        <input type="text" id="lng" name="lng" style="display: none;" class="layui-input">
                        <input type="text" id="lat" name="lat" style="display: none;" class="layui-input">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">景区介绍：</label>
                            <div class="col-sm-8">
                                <!-- <input id="scenicintro" name="scenicintro" class="form-control" type="text">-->
                                <textarea id="demo" style="display: none;"></textarea>
                            </div>
                        </div>
                        <input type="text" id="scenicintro" name="scenicintro" style="display: none;" class="layui-input">
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="/js/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/appjs/farm/scenic/add.js"></script>
</body>
</html>
